package managed;

import model.Users;
import dao.DAOUser;

public class Teste {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
			
		DAOUser daoUser = new DAOUser();
		
		Users u = new Users();
		
		u.setName("AdministradorDefault");
		u.setUsername("admin");
		u.setPassword("12345");
		u.setRole("admin");
		
		daoUser.begin();
		daoUser.persist(u);
		daoUser.commit();
		daoUser.close();
		
	}

}
